package com.hmall.mapper;

import com.hmall.model.MallAuctionApply;
import com.hmall.util.MyMapper;
import com.hmall.vo.MallAuctionApplyVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallAuctionApplyMapper extends MyMapper<MallAuctionApply> {
    Integer selectCountByStatus(@Param("status") Integer status);

    List<MallAuctionApplyVo> selectByStatus(@Param("status") Integer status,@Param("pageStart") Integer pageStart,@Param("pageSize") Integer pageSize);

    List<MallAuctionApplyVo> selectByAuctionIdAndStatus(@Param("id") Integer id,@Param("status") Integer status);
}